import fly from '@/utils/request.js'

// 登录
export const loginApi = data => fly.post('/driver/login/account', data)

// 用户信息
export const getUserInfo = () => fly.get('/driver/users')

// 获取任务数据
export const getTaskInfo = (month,year) => fly.get(`/driver/users/taskReport?month=${month}&year=${year}`)